package dev.alm.javaproject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("tb_user")
public class User {

    private Long id;
    private String username;
    private String password;
    private Long deptId;

    @TableField(exist = false)
    private List<Order> orders;

}
